<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3D动画制作</title>
</head>
<style>
    /* 设置舞台的景深，也就是用户距离舞台的景深 */
    .wutai {
        height: 900px;
        height: 500px;
        margin: 100px auto;
        border: 1px solid red;
        /* 景深 */
        perspective: 1000px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .manger {
        width: 600px;
        height: 400px;
        background-color: orange;
        transform-style: preserve-3d;
        transition: 2s all
    }
    .manger:hover {
        transform: rotateY(180deg);
    }
</style>
<body>
    <div class="wutai">
        <div class="manger"></div>
    </div>
    
</body>
</html>